home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d3
/
pctyp2_c.arc
/
PCTDOC1.EXE
/
lha
/
CHAP11.TXT
< prev
next >
Wrap
Text File
|
1989-04-21
|
6KB
|
113 lines
subject: EDITING / GETTING ANOTHER FILE
overview: Up to 10 files can be active simultaneously within
PC-Type II as long as sufficient memory exists to hold
them. These files are loaded via the EDIT command
within PC-Type II.
The GET command inserts a specified file into the
current file being edited just below the cursor.
With both the EDIT and GET commands, you can load all
or part of a file. If you load part of a file, you
can specify the part by the beginning line number and
the number of lines or by the beginning page number
and the number of pages.
Power users would normally edit or get another file by
moving to the Command Line and entering an EDIT or GET
command. (See the Command Line section). If you
forget the format of the EDIT or GET command, or
prefer to use the menus, then you can EDIT or GET all
or parts of files by using the "(E)dit/Get" option of
the Main Menu.
In the discussion which follows, this option will be
described.
loading: The first question asks you if the file is to be
edited as a separate file or inserted into the current
file. The window below is displayed to make this
determination:
┌────────────────────────────┐
│Question: │
╞════════════════════════════╡
│ (E)dit as separate file or │
│ (G)et as part of this file │
│ Press E or G │
└────────────────────────────┘
selecting: PC-Type II next asks you to identify the file to be
loaded. In the field provided, type the filespec of
the desired file and then press the Enter key. The
filespec may contain a drive and path as well as a
filename and file extension. If neither a drive nor
path is entered, the default directory is assumed.
The filename and file extension may contain the
wildcard characters * and ? just as if you were
performing a DOS DIR command. If no wildcards are
present, then the single file requested is found and
the session moves on to the next question. If
wildcards are present, then all the matching files are
presented in a menu from which you may choose the file
you want.
152
In the example below, the filespec "docm*.pct" was
entered.
┌──────────────────┐
│Default Directory │
╞══════════════════╡
│DOCMAC.PCT │
│DOCMM.PCT │
│DOCMVMT.PCT │
│EXIT │
└──────────────────┘
You may exit by pressing Esc or by moving the highlight
bar to the "EXIT" entry and pressing the Enter key.
Next the amount of the file to be loaded must be
defined with the help of the following window:
┌────────────────────────────┐
│Question: │
╞════════════════════════════╡
│Load (T)otal file or (P)art?│
│Press T or P │
└────────────────────────────┘
If you press T, no more questions will be asked and
the file will be loaded immediately.
If you answer P above, PC-Type II needs to know what part
of the file to load. Defining the loading methodology
with the help of the window below begins the process
of defining the portion of the file to load.
┌──────────────────────────────┐
│Question: │
╞══════════════════════════════╡
│Load by (L)ine # or (P)age # ?│
│Press L or P │
└──────────────────────────────┘
The next request, "Enter Beginning Line/Page number"
expects you to enter the starting position in the
file. The final request, "Enter number of
Line(s)/Page(s)" defines the length of the portion of
the file to be loaded. If the final request is left
blank, then the file will be loaded from the beginning
line or page specified to the end of the file.
The file is now loaded into memory.
If you specified the (G)et option, then the file, or
portion of the file will be inserted into the current
file between the line the cursor is currently on and
the next lower line.
If you specified the (E)dit option, then the file, or
portion of the file will be loaded as a unique file in
memory. This file just loaded will become the current
file being edited. To switch between files in memory
press Shift F1 or go to the "Screen Options" menu by
selecting the "(S)creen" option in the Main Menu.
153